<?php
class Pageley_Gateway_Database_Condition_NotEqualsSqlDecorator extends Pageley_Gateway_Database_Condition_EqualsSqlDecorator {
    
    public function getOperator() {
        $operator = parent::getOperator();
        if($this->getDecoratedCondition()->getValue() === null) {
            $operator = "IS NOT";
        }
        return $operator;
    }
}